package com.treetao.union.mall.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan(basePackages = { "com.treetao.union.db.mapper" })
@ComponentScan(basePackages = { 
		"com.treetao.union.mall.api", 
		"com.treetao.union.db", 
		"com.treetao.union.core" })
@EnableCaching
public class App {
	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}
}
